package com.risk.login.exception;

/**
 * @Desc
 * @Date 2018/7/2:下午8:58
 * @Author yzMa
 * @email 2641007740@qq.com
 */
public class BusinessException extends Exception{

    private String code;

    private String msg;

    public BusinessException(String code,String msg){
        this.code = code;
        this.msg = msg;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
